//
//  YUNewViewController.m
//  新项目
//
//  Created by 宋禹奇 on 15/9/3.
//  Copyright (c) 2015年 宋禹奇. All rights reserved.
//

#import "YUNewViewController.h"

@interface YUNewViewController ()

@end

@implementation YUNewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"MainTitle"]];
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:@"MainTagSubIcon" highImage:@"MainTagSubIconClick" target:self action:@selector(tagClick)];
    
    self.view.backgroundColor = YUGlobalBg;
}

- (void)tagClick{
    YULogFunc;
}

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    UIViewController *vc = [[UIViewController alloc] init];
    vc.view.backgroundColor = YURGBColor(200, 100, 50);
    [self.navigationController pushViewController:vc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
